package com.quanyan.stadium.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbRadarChartDescExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbRadarChartDescExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andPointCountIsNull() {
            addCriterion("point_count is null");
            return (Criteria) this;
        }

        public Criteria andPointCountIsNotNull() {
            addCriterion("point_count is not null");
            return (Criteria) this;
        }

        public Criteria andPointCountEqualTo(Integer value) {
            addCriterion("point_count =", value, "pointCount");
            return (Criteria) this;
        }

        public Criteria andPointCountNotEqualTo(Integer value) {
            addCriterion("point_count <>", value, "pointCount");
            return (Criteria) this;
        }

        public Criteria andPointCountGreaterThan(Integer value) {
            addCriterion("point_count >", value, "pointCount");
            return (Criteria) this;
        }

        public Criteria andPointCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("point_count >=", value, "pointCount");
            return (Criteria) this;
        }

        public Criteria andPointCountLessThan(Integer value) {
            addCriterion("point_count <", value, "pointCount");
            return (Criteria) this;
        }

        public Criteria andPointCountLessThanOrEqualTo(Integer value) {
            addCriterion("point_count <=", value, "pointCount");
            return (Criteria) this;
        }

        public Criteria andPointCountIn(List<Integer> values) {
            addCriterion("point_count in", values, "pointCount");
            return (Criteria) this;
        }

        public Criteria andPointCountNotIn(List<Integer> values) {
            addCriterion("point_count not in", values, "pointCount");
            return (Criteria) this;
        }

        public Criteria andPointCountBetween(Integer value1, Integer value2) {
            addCriterion("point_count between", value1, value2, "pointCount");
            return (Criteria) this;
        }

        public Criteria andPointCountNotBetween(Integer value1, Integer value2) {
            addCriterion("point_count not between", value1, value2, "pointCount");
            return (Criteria) this;
        }

        public Criteria andRadarchartIsNull() {
            addCriterion("radarchart is null");
            return (Criteria) this;
        }

        public Criteria andRadarchartIsNotNull() {
            addCriterion("radarchart is not null");
            return (Criteria) this;
        }

        public Criteria andRadarchartEqualTo(String value) {
            addCriterion("radarchart =", value, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartNotEqualTo(String value) {
            addCriterion("radarchart <>", value, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartGreaterThan(String value) {
            addCriterion("radarchart >", value, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartGreaterThanOrEqualTo(String value) {
            addCriterion("radarchart >=", value, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartLessThan(String value) {
            addCriterion("radarchart <", value, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartLessThanOrEqualTo(String value) {
            addCriterion("radarchart <=", value, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartLike(String value) {
            addCriterion("radarchart like", value, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartNotLike(String value) {
            addCriterion("radarchart not like", value, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartIn(List<String> values) {
            addCriterion("radarchart in", values, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartNotIn(List<String> values) {
            addCriterion("radarchart not in", values, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartBetween(String value1, String value2) {
            addCriterion("radarchart between", value1, value2, "radarchart");
            return (Criteria) this;
        }

        public Criteria andRadarchartNotBetween(String value1, String value2) {
            addCriterion("radarchart not between", value1, value2, "radarchart");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("location is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("location is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(String value) {
            addCriterion("location =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(String value) {
            addCriterion("location <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(String value) {
            addCriterion("location >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(String value) {
            addCriterion("location >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(String value) {
            addCriterion("location <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(String value) {
            addCriterion("location <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(String value) {
            addCriterion("location like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(String value) {
            addCriterion("location not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<String> values) {
            addCriterion("location in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<String> values) {
            addCriterion("location not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(String value1, String value2) {
            addCriterion("location between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(String value1, String value2) {
            addCriterion("location not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentIsNull() {
            addCriterion("self_eval_percent is null");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentIsNotNull() {
            addCriterion("self_eval_percent is not null");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentEqualTo(String value) {
            addCriterion("self_eval_percent =", value, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentNotEqualTo(String value) {
            addCriterion("self_eval_percent <>", value, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentGreaterThan(String value) {
            addCriterion("self_eval_percent >", value, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentGreaterThanOrEqualTo(String value) {
            addCriterion("self_eval_percent >=", value, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentLessThan(String value) {
            addCriterion("self_eval_percent <", value, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentLessThanOrEqualTo(String value) {
            addCriterion("self_eval_percent <=", value, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentLike(String value) {
            addCriterion("self_eval_percent like", value, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentNotLike(String value) {
            addCriterion("self_eval_percent not like", value, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentIn(List<String> values) {
            addCriterion("self_eval_percent in", values, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentNotIn(List<String> values) {
            addCriterion("self_eval_percent not in", values, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentBetween(String value1, String value2) {
            addCriterion("self_eval_percent between", value1, value2, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andSelfEvalPercentNotBetween(String value1, String value2) {
            addCriterion("self_eval_percent not between", value1, value2, "selfEvalPercent");
            return (Criteria) this;
        }

        public Criteria andWaveLevelIsNull() {
            addCriterion("wave_level is null");
            return (Criteria) this;
        }

        public Criteria andWaveLevelIsNotNull() {
            addCriterion("wave_level is not null");
            return (Criteria) this;
        }

        public Criteria andWaveLevelEqualTo(Double value) {
            addCriterion("wave_level =", value, "waveLevel");
            return (Criteria) this;
        }

        public Criteria andWaveLevelNotEqualTo(Double value) {
            addCriterion("wave_level <>", value, "waveLevel");
            return (Criteria) this;
        }

        public Criteria andWaveLevelGreaterThan(Double value) {
            addCriterion("wave_level >", value, "waveLevel");
            return (Criteria) this;
        }

        public Criteria andWaveLevelGreaterThanOrEqualTo(Double value) {
            addCriterion("wave_level >=", value, "waveLevel");
            return (Criteria) this;
        }

        public Criteria andWaveLevelLessThan(Double value) {
            addCriterion("wave_level <", value, "waveLevel");
            return (Criteria) this;
        }

        public Criteria andWaveLevelLessThanOrEqualTo(Double value) {
            addCriterion("wave_level <=", value, "waveLevel");
            return (Criteria) this;
        }

        public Criteria andWaveLevelIn(List<Double> values) {
            addCriterion("wave_level in", values, "waveLevel");
            return (Criteria) this;
        }

        public Criteria andWaveLevelNotIn(List<Double> values) {
            addCriterion("wave_level not in", values, "waveLevel");
            return (Criteria) this;
        }

        public Criteria andWaveLevelBetween(Double value1, Double value2) {
            addCriterion("wave_level between", value1, value2, "waveLevel");
            return (Criteria) this;
        }

        public Criteria andWaveLevelNotBetween(Double value1, Double value2) {
            addCriterion("wave_level not between", value1, value2, "waveLevel");
            return (Criteria) this;
        }

        public Criteria andIsDelteIsNull() {
            addCriterion("is_delte is null");
            return (Criteria) this;
        }

        public Criteria andIsDelteIsNotNull() {
            addCriterion("is_delte is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelteEqualTo(Byte value) {
            addCriterion("is_delte =", value, "isDelte");
            return (Criteria) this;
        }

        public Criteria andIsDelteNotEqualTo(Byte value) {
            addCriterion("is_delte <>", value, "isDelte");
            return (Criteria) this;
        }

        public Criteria andIsDelteGreaterThan(Byte value) {
            addCriterion("is_delte >", value, "isDelte");
            return (Criteria) this;
        }

        public Criteria andIsDelteGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_delte >=", value, "isDelte");
            return (Criteria) this;
        }

        public Criteria andIsDelteLessThan(Byte value) {
            addCriterion("is_delte <", value, "isDelte");
            return (Criteria) this;
        }

        public Criteria andIsDelteLessThanOrEqualTo(Byte value) {
            addCriterion("is_delte <=", value, "isDelte");
            return (Criteria) this;
        }

        public Criteria andIsDelteIn(List<Byte> values) {
            addCriterion("is_delte in", values, "isDelte");
            return (Criteria) this;
        }

        public Criteria andIsDelteNotIn(List<Byte> values) {
            addCriterion("is_delte not in", values, "isDelte");
            return (Criteria) this;
        }

        public Criteria andIsDelteBetween(Byte value1, Byte value2) {
            addCriterion("is_delte between", value1, value2, "isDelte");
            return (Criteria) this;
        }

        public Criteria andIsDelteNotBetween(Byte value1, Byte value2) {
            addCriterion("is_delte not between", value1, value2, "isDelte");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andMaxLengthIsNull() {
            addCriterion("max_length is null");
            return (Criteria) this;
        }

        public Criteria andMaxLengthIsNotNull() {
            addCriterion("max_length is not null");
            return (Criteria) this;
        }

        public Criteria andMaxLengthEqualTo(Integer value) {
            addCriterion("max_length =", value, "maxLength");
            return (Criteria) this;
        }

        public Criteria andMaxLengthNotEqualTo(Integer value) {
            addCriterion("max_length <>", value, "maxLength");
            return (Criteria) this;
        }

        public Criteria andMaxLengthGreaterThan(Integer value) {
            addCriterion("max_length >", value, "maxLength");
            return (Criteria) this;
        }

        public Criteria andMaxLengthGreaterThanOrEqualTo(Integer value) {
            addCriterion("max_length >=", value, "maxLength");
            return (Criteria) this;
        }

        public Criteria andMaxLengthLessThan(Integer value) {
            addCriterion("max_length <", value, "maxLength");
            return (Criteria) this;
        }

        public Criteria andMaxLengthLessThanOrEqualTo(Integer value) {
            addCriterion("max_length <=", value, "maxLength");
            return (Criteria) this;
        }

        public Criteria andMaxLengthIn(List<Integer> values) {
            addCriterion("max_length in", values, "maxLength");
            return (Criteria) this;
        }

        public Criteria andMaxLengthNotIn(List<Integer> values) {
            addCriterion("max_length not in", values, "maxLength");
            return (Criteria) this;
        }

        public Criteria andMaxLengthBetween(Integer value1, Integer value2) {
            addCriterion("max_length between", value1, value2, "maxLength");
            return (Criteria) this;
        }

        public Criteria andMaxLengthNotBetween(Integer value1, Integer value2) {
            addCriterion("max_length not between", value1, value2, "maxLength");
            return (Criteria) this;
        }

        public Criteria andSpaceIsNull() {
            addCriterion("space is null");
            return (Criteria) this;
        }

        public Criteria andSpaceIsNotNull() {
            addCriterion("space is not null");
            return (Criteria) this;
        }

        public Criteria andSpaceEqualTo(Double value) {
            addCriterion("space =", value, "space");
            return (Criteria) this;
        }

        public Criteria andSpaceNotEqualTo(Double value) {
            addCriterion("space <>", value, "space");
            return (Criteria) this;
        }

        public Criteria andSpaceGreaterThan(Double value) {
            addCriterion("space >", value, "space");
            return (Criteria) this;
        }

        public Criteria andSpaceGreaterThanOrEqualTo(Double value) {
            addCriterion("space >=", value, "space");
            return (Criteria) this;
        }

        public Criteria andSpaceLessThan(Double value) {
            addCriterion("space <", value, "space");
            return (Criteria) this;
        }

        public Criteria andSpaceLessThanOrEqualTo(Double value) {
            addCriterion("space <=", value, "space");
            return (Criteria) this;
        }

        public Criteria andSpaceIn(List<Double> values) {
            addCriterion("space in", values, "space");
            return (Criteria) this;
        }

        public Criteria andSpaceNotIn(List<Double> values) {
            addCriterion("space not in", values, "space");
            return (Criteria) this;
        }

        public Criteria andSpaceBetween(Double value1, Double value2) {
            addCriterion("space between", value1, value2, "space");
            return (Criteria) this;
        }

        public Criteria andSpaceNotBetween(Double value1, Double value2) {
            addCriterion("space not between", value1, value2, "space");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}